package com.textbasedgame.choices;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import com.textbasedgame.people.Player;


public class Choice41 extends Choice{
	

	public Choice41(Player player) {
		this.player = player;
	}

	public void start() {
		
		
		System.out.println("Before you can charge through the archway a slab of");
		System.out.println("Smooth rock slams down from above, with a sound like");
		System.out.println("A clap of thunder that reverberates around the cavern.");
		System.out.println("It blocks the archway completely. Unfortunately you cannot");
		System.out.println("Stop in mid-leap; you crash sickeningly into the stone with");
		System.out.println("Bone-jarring force.");
		System.out.println("You lose 2 STAMINA points.");
		
		player.setStamina(-2);
		
		System.out.println("You now have " + player.getStamina()+ " STAMINA");
		
		System.out.println(TERM_ARROW);

		try {
			enter = br.readLine();
		} catch (IOException ioe) {
			System.out.println("IO error trying to read your name!");
		}
		System.out.println("Feeling somewhat groggy, you pick yourself up and realise");
		System.out.println("That the other archway is similarly sealed. Seeing you have");
		System.out.println("No option you turn to face the oncomming footsteps and draw your sword.");
		System.out.println(TERM_ARROW);

		try {
			enter = br.readLine();
		} catch (IOException ioe) {
			System.out.println("IO error trying to read your name!");
		}
		
		Choice13 choice13 = new Choice13(player);
		choice13.start();
	
	}

}
